package com.powernode.strategy;

import org.springframework.security.core.userdetails.UserDetails;

/**
 * 登陆策略接口
 *
 * @author ZhangYu
 * @date 2024/12/01
 */
public interface LoginStrategy {

    /**
     * 真正处理登录的方法
     *
     * @param userName
     * @return
     */
    UserDetails realLogin(String userName);

}
